package org.hbnu.xiaomi.entity;

public class Goods {
    private int id;

    private String name;

    private String pic;

    private int price;

    private int stock;

    private int types_id;

    private String detail;

    public Goods(int id, String name, String pic, int price, int stock, int types_id, String detail) {
        this.id = id;
        this.name = name;
        this.pic = pic;
        this.price = price;
        this.stock = stock;
        this.types_id = types_id;
        this.detail = detail;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getStock() {
        return stock;
    }

    public void setStock(int stock) {
        this.stock = stock;
    }

    public int getTypes_id() {
        return types_id;
    }

    public void setTypes_id(int types_id) {
        this.types_id = types_id;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }
}
